package com.sophialex.health.record.common.dialog;

import org.eclipse.jface.dialogs.ProgressMonitorDialog;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;

import com.sophialex.health.system.frame.util.LayoutUtil;

public class MyProgressMonitorDialog extends ProgressMonitorDialog {

	public MyProgressMonitorDialog(Shell parent) {
		super(parent);
	}

	@Override
	protected void configureShell(Shell shell) {
		super.configureShell(shell);
		LayoutUtil.centerShell(Display.getDefault(), shell);
	}

	@Override
	protected void createCancelButton(Composite parent) {
	}

}